package com.zimmur.app.mocolink.domain.vo;


import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zimmur.app.mocolink.domain.util.DateUtils;

public class UserMessageInfo {
	private Integer messageId;
	private Integer toUserId;
	//private String msgType;		// 消息类型：text,url,goods,service,provider
	private String dataId;
	private String msgTitle;
    private String msgContent;
	private String msgUrl;
	private String categoryCode; // 消息类别：ad=广告/ship=物流/business=交易
	@JsonIgnore
	private Integer createTime;
	@JsonIgnore
	private String userDeviceId;
	@JsonIgnore
	private String pushType;
	
	private String createTimeStr;

	public Integer getMessageId() {
		return messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public Integer getToUserId() {
		return toUserId;
	}

	public void setToUserId(Integer toUserId) {
		this.toUserId = toUserId;
	}

	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}

	public String getMsgTitle() {
		return msgTitle;
	}

	public void setMsgTitle(String msgTitle) {
		this.msgTitle = msgTitle;
	}

	public String getMsgContent() {
		return msgContent;
	}

	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}

	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public String getMsgUrl() {
		return msgUrl;
	}

	public void setMsgUrl(String msgUrl) {
		this.msgUrl = msgUrl;
	}

	public Integer getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Integer createTime) {
		this.createTime = createTime;
	}

	public String getUserDeviceId() {
		return userDeviceId;
	}

	public void setUserDeviceId(String userDeviceId) {
		this.userDeviceId = userDeviceId;
	}

	public String getPushType() {
		return pushType;
	}

	public void setPushType(String pushType) {
		this.pushType = pushType;
	}

	public String getCreateTimeStr() {
		createTimeStr=DateUtils.getUnixTimeToDefineFormat(this.createTime);
		return createTimeStr;
	}

	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}
	
	
}
